<!--本文件由FirstUI授权予郝宁宁（手机号：1 5 51 2   4 69 8  12，身份证尾号：05 0   5 13）专用，请尊重知识产权，勿私下传播，违者追究法律责任。-->
<template>
	<view class="fui-wrap">
		<view class="fui-page__hd">
			<view class="fui-page__title fui-align__center" @tap="vip">Spin <image
					src="/static/images/index/light/icon_member_3x.png"></image>
			</view>
			<view class="fui-page__desc">Spin 旋转动画。</view>
		</view>
		<view class="fui-page__bd fui-page__spacing">
			<view class="fui-section__title">基础使用</view>
			<fui-grid>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>旋转</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<view class="fui-loading"></view>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<view class="fui-loading2"></view>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<fui-icon name="loading" color="#FFB703"></fui-icon>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<fui-icon name="moments" color="#09BE4F"></fui-icon>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<fui-icon name="aftersale" color="#FF2B2B"></fui-icon>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<image src="/static/images/component/loading_gray.png" class="fui-icon__img"></image>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<image src="" class="fui-icon__img"></image>
						</fui-spin>
					</view>
				</fui-grid-item>
				<fui-grid-item :highlight="false">
					<view class="fui-load__item">
						<fui-spin>
							<image src="/static/images/common/img_logo.png" class="fui-icon__img fui-circle"></image>
						</fui-spin>
					</view>
				</fui-grid-item>
			</fui-grid>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			vip() {
				this.fui.href("/pages/my/qa/qa?index=2&title=VIP专属内容")
			}
		}
	}
</script>

<style>
	page {
		background-color: #FFFFFF;
	}

	.fui-load__item {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-direction: column;
	}

	.fui-loading {
		width: 40rpx;
		height: 40rpx;
		border-radius: 50%;
		border: 2px solid #465CFF;
		border-left-color: transparent;
	}
	.fui-loading2{
		width: 40rpx;
		height: 40rpx;
		border-radius: 50%;
		border: 2px solid #ccc;
		border-left-color: #888;
	}
	.fui-icon__img{
		width: 60rpx;
		height: 60rpx;
		display: block;
	}
	.fui-circle{
		border-radius: 50%;
	}
</style>